Optimal. Leaf size=25 \[ \sqrt {-4 x^2+12 x-8}+\frac {1}{2} \sin ^{-1}(3-2 x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {640, 619, 216} \begin {gather*} \sqrt {-4 x^2+12 x-8}+\frac {1}{2} \sin ^{-1}(3-2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 216
Rule 619
Rule 640
Rubi steps
\begin {align*} \int \frac {5-4 x}{\sqrt {-8+12 x-4 x^2}} \, dx &=\sqrt {-8+12 x-4 x^2}-\int \frac {1}{\sqrt {-8+12 x-4 x^2}} \, dx\\ &=\sqrt {-8+12 x-4 x^2}+\frac {1}{8} \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{16}}} \, dx,x,12-8 x\right )\\ &=\sqrt {-8+12 x-4 x^2}+\frac {1}{2} \sin ^{-1}(3-2 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.00 \begin {gather*} \sqrt {-4 x^2+12 x-8}+\frac {1}{2} \sin ^{-1}(3-2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.19, size = 38, normalized size = 1.52 \begin {gather*} 2 \sqrt {-x^2+3 x-2}+\tan ^{-1}\left (\frac {\sqrt {-x^2+3 x-2}}{x-1}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.41, size = 47, normalized size = 1.88 \begin {gather*} 2 \, \sqrt {-x^{2} + 3 \, x - 2} + \frac {1}{2} \, \arctan \left (\frac {\sqrt {-x^{2} + 3 \, x - 2} {\left (2 \, x - 3\right )}}{2 \, {\left (x^{2} - 3 \, x + 2\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 23, normalized size = 0.92 \begin {gather*} 2 \, \sqrt {-x^{2} + 3 \, x - 2} - \frac {1}{2} \, \arcsin \left (2 \, x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 24, normalized size = 0.96 \begin {gather*} -\frac {\arcsin \left (2 x -3\right )}{2}+2 \sqrt {-x^{2}+3 x -2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.90, size = 23, normalized size = 0.92 \begin {gather*} 2 \, \sqrt {-x^{2} + 3 \, x - 2} - \frac {1}{2} \, \arcsin \left (2 \, x - 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.30, size = 46, normalized size = 1.84 \begin {gather*} \frac {5\,\mathrm {asin}\left (2\,x-3\right )}{2}+2\,\sqrt {-x^2+3\,x-2}+\ln \left (x\,1{}\mathrm {i}+\sqrt {-x^2+3\,x-2}-\frac {3}{2}{}\mathrm {i}\right )\,3{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \frac {\int \frac {4 x}{\sqrt {- x^{2} + 3 x - 2}}\, dx + \int \left (- \frac {5}{\sqrt {- x^{2} + 3 x - 2}}\right )\, dx}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________